﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AzureFacebook.Domain;

namespace AzureFacebook.Data.Sql
{
    public static class CommentConverter
    {
        public static CommentEntity MapToSqlData(this Comment comment)
        {
            var newComment = new CommentEntity
            {
                FacebookId = comment.FacebookId,
                CommentText = comment.CommentText
            };
            return newComment;
        }
    }
}
